Platform Explorer / Nuxeo Platform 2021.54

Component org.nuxeo.ecm.platform.convert.plugins

Resolution Order

339
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.convert.plugins">

  <extension target="org.nuxeo.ecm.core.convert.service.ConversionServiceImpl" point="converter">

    <converter name="2utf8" class="org.nuxeo.ecm.platform.convert.plugins.UTF8CharsetConverter">
      <sourceMimeType>text/xml</sourceMimeType>
      <sourceMimeType>text/html</sourceMimeType>
      <sourceMimeType>text/plain</sourceMimeType>
      <sourceMimeType>text/csv</sourceMimeType>
      <sourceMimeType>text/tsv</sourceMimeType>
      <destinationMimeType>text/xml</destinationMimeType>
      <destinationMimeType>text/html</destinationMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
      <destinationMimeType>text/csv</destinationMimeType>
      <destinationMimeType>text/tsv</destinationMimeType>
    </converter>

    <converter name="zip2html" class="org.nuxeo.ecm.platform.convert.plugins.Zip2HtmlConverter">
      <destinationMimeType>text/html</destinationMimeType>
      <sourceMimeType>application/zip</sourceMimeType>
      <sourceMimeType>application/x-zip-compressed</sourceMimeType>
    </converter>

    <converter name="wpd2text" class="org.nuxeo.ecm.platform.convert.plugins.WordPerfect2TextConverter">
      <sourceMimeType>application/wordperfect</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">wpd2text</parameter>
      </parameters>
    </converter>

    <converter name="wpd2html" class="org.nuxeo.ecm.platform.convert.plugins.CommandLineConverter">
      <sourceMimeType>application/wordperfect</sourceMimeType>
      <destinationMimeType>text/html</destinationMimeType>
    </converter>

    <converter name="pdf2html" class="org.nuxeo.ecm.platform.convert.plugins.PDF2HtmlConverter">
      <sourceMimeType>application/pdf</sourceMimeType>
      <destinationMimeType>text/html</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">pdftohtml</parameter>
      </parameters>
    </converter>

    <converter name="pdf2text" class="org.nuxeo.ecm.platform.convert.plugins.CommandLineConverter">
      <sourceMimeType>application/pdf</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">pdftotext</parameter>
      </parameters>
    </converter>

    <converter name="pdf2image" class="org.nuxeo.ecm.platform.convert.plugins.PDF2ImageConverter">
      <sourceMimeType>application/pdf</sourceMimeType>
      <destinationMimeType>image/jpeg</destinationMimeType>
      <destinationMimeType>image/png</destinationMimeType>
      <destinationMimeType>image/gif</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">converter</parameter>
      </parameters>
    </converter>

    <converter name="image2pdf" class="org.nuxeo.ecm.platform.convert.plugins.Image2PDFConverter">
      <sourceMimeType>image/*</sourceMimeType>
      <sourceMimeType>application/illustrator</sourceMimeType>
      <sourceMimeType>application/photoshop</sourceMimeType>
      <sourceMimeType>application/postscript</sourceMimeType>
      <destinationMimeType>application/pdf</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">converter</parameter>
      </parameters>
    </converter>

    <converter name="any2ods" class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter">
      <destinationMimeType>application/vnd.oasis.opendocument.spreadsheet</destinationMimeType>

      <!-- Microsoft office documents -->
      <sourceMimeType>application/vnd.ms-excel</sourceMimeType>
      <!-- Microsoft office 2007 documents -->
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
      </sourceMimeType>
      <!-- OpenOffice.org 1.x documents -->
      <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
      <!-- OpenOffice.org 2.x documents -->
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet-template
      </sourceMimeType>

      <parameters>
        <parameter name="CommandLineName">soffice</parameter>
        <parameter name="format">ods</parameter>
      </parameters>

    </converter>

    <converter name="any2odp" class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter">
      <destinationMimeType>application/vnd.oasis.opendocument.presentation</destinationMimeType>

      <!-- Microsoft office documents -->
      <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
      <!-- Microsoft office 2007 documents -->
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.presentationml.presentation
      </sourceMimeType>
      <!-- OpenOffice.org 1.x documents -->
      <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
      <!-- OpenOffice.org 2.x documents -->
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation-template
      </sourceMimeType>

      <parameters>
        <parameter name="CommandLineName">soffice</parameter>
        <parameter name="format">odp</parameter>
      </parameters>

    </converter>

    <converter name="any2pdf" class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter"
               bypassIfSameMimeType="true">
      <destinationMimeType>application/pdf</destinationMimeType>

      <sourceMimeType>application/pdf</sourceMimeType>
      <sourceMimeType>text/xml</sourceMimeType>
      <sourceMimeType>text/html</sourceMimeType>
      <sourceMimeType>text/plain</sourceMimeType>
      <sourceMimeType>text/partial</sourceMimeType>
      <sourceMimeType>text/rtf</sourceMimeType>
      <sourceMimeType>application/rtf</sourceMimeType>
      <sourceMimeType>text/csv</sourceMimeType>
      <sourceMimeType>text/tsv</sourceMimeType>

      <!-- Microsoft office documents -->
      <sourceMimeType>application/msword</sourceMimeType>
      <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
      <sourceMimeType>application/vnd.ms-excel</sourceMimeType>

      <!-- Microsoft office 2007 documents -->
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.wordprocessingml.document
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.presentationml.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
      </sourceMimeType>

      <!-- OpenOffice.org 1.x documents -->
      <sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.draw</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.draw.template</sourceMimeType>

      <!-- OpenOffice.org 2.x documents -->
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet-template
      </sourceMimeType>
      <sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.text-template
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation-template
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.graphics
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.graphics-template
      </sourceMimeType>

      <!-- WordPerfect -->
      <sourceMimeType>application/wordperfect</sourceMimeType>

      <parameters>
        <parameter name="CommandLineName">soffice</parameter>
        <parameter name="format">pdf</parameter>
      </parameters>
    </converter>

    <converter name="office2html" class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter">
      <destinationMimeType>text/html</destinationMimeType>

      <sourceMimeType>text/xml</sourceMimeType>
      <sourceMimeType>text/html</sourceMimeType>
      <sourceMimeType>text/plain</sourceMimeType>
      <sourceMimeType>text/rtf</sourceMimeType>
      <sourceMimeType>application/rtf</sourceMimeType>
      <sourceMimeType>text/csv</sourceMimeType>
      <sourceMimeType>text/tsv</sourceMimeType>

      <!-- Microsoft office documents -->
      <sourceMimeType>application/msword</sourceMimeType>
      <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
      <sourceMimeType>application/vnd.ms-excel</sourceMimeType>

      <!-- Microsoft office 2007 documents -->
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.wordprocessingml.document
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.presentationml.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
      </sourceMimeType>

      <!-- OpenOffice.org 1.x documents -->
      <sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.draw</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.draw.template</sourceMimeType>

      <!-- OpenOffice.org 2.x documents -->
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet-template
      </sourceMimeType>
      <sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.text-template
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation-template
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.graphics
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.graphics-template
      </sourceMimeType>

      <!-- WordPerfect -->
      <sourceMimeType>application/wordperfect</sourceMimeType>

      <parameters>
        <parameter name="CommandLineName">soffice</parameter>
        <parameter name="format">html</parameter>
      </parameters>

    </converter>

    <converter name="md2html" class="org.nuxeo.ecm.platform.convert.plugins.Md2HtmlConverter">
      <destinationMimeType>text/html</destinationMimeType>
      <sourceMimeType>text/x-web-markdown</sourceMimeType>
    </converter>

    <converter name="md2pdf">
      <conversionSteps>
        <subconverter>md2html</subconverter>
        <subconverter>any2pdf</subconverter>
      </conversionSteps>
    </converter>

    <converter name="iwork2pdf" class="org.nuxeo.ecm.platform.convert.plugins.IWork2PDFConverter">
      <destinationMimeType>application/pdf</destinationMimeType>
      <sourceMimeType>application/vnd.apple.iwork</sourceMimeType>
      <sourceMimeType>application/vnd.apple.pages</sourceMimeType>
      <sourceMimeType>application/vnd.apple.numbers</sourceMimeType>
      <sourceMimeType>application/vnd.apple.keynote</sourceMimeType>
    </converter>

    <converter name="iwork2html">
      <conversionSteps>
        <subconverter>iwork2pdf</subconverter>
        <subconverter>pdf2html</subconverter>
      </conversionSteps>
    </converter>

  </extension>

</component>